//
//  YsqhCell.swift
//  Auscultation
//
//  Created by 来 on 2020/12/20.
//

import Foundation

class YsqhCell: UICollectionViewCell {
    
    var name: UILabel!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.backgroundColor = UIColor.white
        
        name = UILabel.init()
        name.lgf_AddShowAllText()
        name.font = UIFont.systemFont(ofSize: 14)
        name.textColor = UIColor.init(lgf_HexString: "8D969D")
        name.text = "来国锋"
        name.clipsToBounds = true
        name.layer.cornerRadius = 2
        name.textAlignment = .center
        name.backgroundColor = UIColor.init(lgf_HexString: "F4F4F4")
        name.lgf_AddShowAllText()
        addSubview(name)
        name.snp.makeConstraints { (make) in
            make.center.equalToSuperview()
            make.width.equalToSuperview().offset(-10)
            make.height.equalToSuperview().offset(-10)
        }
        
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
